cap log close
log using "Z:\Angrist Work\Web Papers\Angrist_1996\Angrist1996_Tabe1.log", replace

*********************************
* PROGRAM: Angrist1996_Table1	 
* PROGRAMMER: Simone Schaner	 
* PURPOSE: Recreates Table 1 of	 
*	Angrist (1996)				 
* DATE CREATED: 11/3/07			 
*********************************

clear
set mem 150m
set more off

cd "Z:\Angrist Work\Web Papers\Angrist_1996"

use data8191

* MAKE VARIABLES
g byte count=1
g byte wis= (workloc=="JLEM" | workloc=="ISRAEL") if workloc~=""
g byte gazan= region=="GAZA"
ren v36 weight

tabstat count educ age lfp sachir wrkdays if gazan, st(mean n) by(year)
table year if gazan [iw=weight], c(mean wis)

tabstat count educ age lfp sachir wrkdays if ~gazan, st(mean n) by(year)
table year if ~gazan [iw=weight], c(mean wis)

log close